package com.deer.wms.base.system.service.bill.impl;

import com.deer.wms.base.system.dao.bill.BillOutMesLogMapper;
import com.deer.wms.base.system.model.bill.BillOutMesLog;
import com.deer.wms.base.system.service.bill.BillOutMesLogService;
import com.deer.wms.common.core.service.AbstractService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author 李帅辰
 * @date 2021/6/24 17:51
 */
@Service
public class BillOutMesLogServiceImpl extends AbstractService<BillOutMesLog, Integer> implements BillOutMesLogService {
    @Autowired
    private BillOutMesLogMapper billOutMesLogMapper;

    @Override
    public int saveBillOutMesLog(BillOutMesLog billOutMesLog) {
        return billOutMesLogMapper.saveBillOutMesLog(billOutMesLog);
    }

    @Override
    public int updateBillOutMesLog(BillOutMesLog billOutMesLog) {
        return billOutMesLogMapper.updateBillOutMesLog(billOutMesLog);
    }

    @Override
    public BillOutMesLog findBillOutMesLogById(Integer billOutMesLogId) {
        return billOutMesLogMapper.findBillOutMesLogById(billOutMesLogId);
    }

    @Override
    public List<BillOutMesLog> findBillOutMesLogList(BillOutMesLog billOutMesLog) {
        return billOutMesLogMapper.findBillOutMesLogList(billOutMesLog);
    }
}
